<!DOCTYPE html>
<html>

<head>
    <title>绑定手机号 - {$site_info.site_name|default=''}</title>
    <meta name="keywords" content="{$site_info.site_seo_keywords|default=''}" />
    <meta name="description" content="{$site_info.site_seo_description|default=''}">
    <include file="public@head" />
</head>

<body class="bg-white">
    <include file="public@nav" />
    <div class="content container">
        <div class="row">
            <div class="col-md-6 offset-md-3">
                <h5 class="text-center my-4">绑定手机号</h5>
                <form class="js-ajax-form px-2" action="{:url('user/Public/bindingMobile')}" method="post">
                    <div class="input-group mb-3">
                        <!-- <div class="input-group-prepend">
                                <span class="input-group-text" id="basic-addon1"></span>
                            </div> -->
                        <input type="text" class="form-control" name="username" placeholder="请输入手机号" aria-describedby="basic-addon1" id="js-mobile-input">
                    </div>
                    <div class="input-group mb-3">
                        <input type="text" class="form-control" name="verification_code" placeholder="请输入验证码" aria-describedby="basic-addon2">
                        <div class="input-group-append">
                            <span class="input-group-text" id="basic-addon2"><a class="js-get-mobile-code" data-wait-msg="[second]秒后重新获取" data-mobile-input="#js-mobile-input" data-url="{:url('user/VerificationCode/send')}" daty-type="register" data-init-second-left="60">获取验证码</a></span>
                        </div>
                    </div>
                    <div class="input-group mb-3">
                        <!-- <div class="input-group-prepend">
                                <span class="input-group-text" id="basic-addon1"></span>
                            </div> -->
                        <input type="password" class="form-control" name="password" placeholder="设置密码，6-32位数字/字母/字符混合" aria-describedby="basic-addon1" id="js-mobile-input">
                    </div>
                    <div class="input-group mb-3">
                        <!-- <div class="input-group-prepend">
                                <span class="input-group-text" id="basic-addon1"></span>
                            </div> -->
                        <input type="password" class="form-control" name="repassword" placeholder="确认密码" aria-describedby="basic-addon1" id="js-mobile-input">
                    </div>
                    <div class="form-group pt-2">
                        <input type="hidden" name="redirect" value="">
                        <button class="btn btn-warning btn-block js-ajax-submit" type="submit">立即绑定</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <!-- /container -->
    <include file="public@scripts" />
</body>

</html>